Added some checking conditions to update new location instead of getting endless location updates.

Created a helper method to give contexts to Get My Location button.