fixed styles and function of menu in treeview