Updating the camera view and checking the Internet connection