Fixed Bug, in geolocation where error message would refresh