Adds geolocation error callback