Fix host-edit switch

#Fix 765
Corrections on host-edit switch
Treeview: reduce event registration

*Use bubbling instead of registering events on each node