Correctly update the jstree toolbar when updating the tree selection in
response to filtering or icon selection