Select an item in the treeview