toggling network activity indicator on iOS