     private func configureLocationManager(){
         
         manager.allowsBackgroundLocationUpdates = true
-        manager.desiredAccuracy = kCLLocationAccuracyBest;
-        manager.distanceFilter = kCLDistanceFilterNone;
+        manager.desiredAccuracy = kCLLocationAccuracyBest
+        manager.distanceFilter = kCLDistanceFilterNone
         manager.pausesLocationUpdatesAutomatically = false
         manager.delegate = self
     }

        if let timer = checkLocationTimer {

            timer.invalidate()
            checkLocationTimer=nil;
        }
    }
    

        if let timer = waitTimer {
            
            timer.invalidate()
            waitTimer=nil
        }
    }
    
