Implemented onLocationChange callback