properly update statusbar after network restart