Added deselect listener to tree
Added relations selection