Added double-click functionality for the treeview