Added a connection to both SplashScreenActivity and MainActivity to ensure that users can't use the application unless there is a internet connection to retrieve data.
Added  DialogAlert to inform the users that a network connection is required to retrieve data.