Added an error alert when geolocation fails. Recreate geolocation object on fail due to bug.