add utility function for network activity indicator on status bar