Added possibility to activate/deactivate units in TreeView