Moving functions from MainActivity to MapHelper and MyLocationListener