Fix item selection in treeview after open dir

Fix #76