Added internet connection checking when the user pressed the search button. If no connection display alert.