Reload treeview after changing preferences