Fixed bug with update treeview on changing measure unit