Added UIAlertViews for internet connection checking.