Added getLastLocation class for doing geolocation and modified the view to display current latitude and longitude.