Main window code tidy: separated calls refreshing the header and tab pages from the call refreshing the treeview.
Main window code tidy: separated calls refreshing the header and tab pages from
the call refreshing the treeview.

Signed-off-by: Konstantina Chremmou <a7d1f757a659045fb6db8c1e3849a1c8ad00b97a@citrix.com>

cheng-z/xenadmin,ushamandya/xenadmin,Frezzle/xenadmin,MihaelaStoica/xenadmin,ushamandya/xenadmin,qlw/xenadmin,cheng-z/xenadmin,robhoes/xenadmin,Frezzle/xenadmin,letsboogey/xenadmin,huizh/xenadmin,stephen-turner/xenadmin,ushamandya/xenadmin,xenserver/xenadmin,cheng--zhang/xenadmin,kc284/xenadmin,cheng--zhang/xenadmin,MihaelaStoica/xenadmin,kc284/xenadmin,agimofcarmen/xenadmin,huizh/xenadmin,jijiang/xenadmin,qlw/xenadmin,cheng--zhang/xenadmin,huizh/xenadmin,Frezzle/xenadmin,letsboogey/xenadmin,qlw/xenadmin,minli1/xenadmin,letsboogey/xenadmin,minli1/xenadmin,cheng--zhang/xenadmin,geosharath/xenadmin,geosharath/xenadmin,agimofcarmen/xenadmin,jijiang/xenadmin,qlw/xenadmin,MihaelaStoica/xenadmin,cheng--zhang/xenadmin,ushamandya/xenadmin,cheng-z/xenadmin,robhoes/xenadmin,ushamandya/xenadmin,GaborApatiNagy/xenadmin,jijiang/xenadmin,kc284/xenadmin,geosharath/xenadmin,GaborApatiNagy/xenadmin,GaborApatiNagy/xenadmin,geosharath/xenadmin,letsboogey/xenadmin,xenserver/xenadmin,ushamandya/xenadmin,MihaelaStoica/xenadmin,huizh/xenadmin,robhoes/xenadmin,huizh/xenadmin,stephen-turner/xenadmin,agimofcarmen/xenadmin,GaborApatiNagy/xenadmin,Frezzle/xenadmin,robhoes/xenadmin,geosharath/xenadmin,kc284/xenadmin,cheng-z/xenadmin,MihaelaStoica/xenadmin,robhoes/xenadmin,qlw/xenadmin,Frezzle/xenadmin,letsboogey/xenadmin,stephen-turner/xenadmin,jijiang/xenadmin,minli1/xenadmin,agimofcarmen/xenadmin,Frezzle/xenadmin,MihaelaStoica/xenadmin,minli1/xenadmin,huizh/xenadmin,minli1/xenadmin,stephen-turner/xenadmin,robhoes/xenadmin,geosharath/xenadmin,stephen-turner/xenadmin,xenserver/xenadmin,cheng--zhang/xenadmin,agimofcarmen/xenadmin,minli1/xenadmin,letsboogey/xenadmin,cheng-z/xenadmin,stephen-turner/xenadmin,GaborApatiNagy/xenadmin,jijiang/xenadmin,GaborApatiNagy/xenadmin,jijiang/xenadmin,kc284/xenadmin,cheng-z/xenadmin