Implemented deselect of selected layer in layertree