void () { String filter = myProfileFilter != null ? myProfileFilter.getFilter() : null; if (myTreeTable != null) { getExpandedNodes(myProfile).saveVisibleState(myTreeTable.getTree()); fillTreeData(filter, true); reloadModel(); restoreTreeState(); if (myTreeTable.getTree().getSelectionPath() == null) { TreeUtil.promiseSelectFirst(myTreeTable.getTree()); } } }