Added activity for checking internet connection