fix treeview sessions + save and load sessions