Fix item selection in treeview after open dir

Fix #76
Merge pull request #77 from tbeu/patch-treeview-select

Fix item selection in treeview after open dir