fixed locationlistener onLocationChange method to update local class variables