Implemented deselection of categories in LayerTreeBase