     log.verbose("")
 
     // reset the default accuracy
-    locationManager?.desiredAccuracy = kCLLocationAccuracyNearestTenMeters
+    locationManager.desiredAccuracy = kCLLocationAccuracyNearestTenMeters
 
     
     // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.


  var window: UIWindow?

  var locationManager: CLLocationManager?
  var locationUpdateTimer: Async?
  var locationUpdateStartTime: NSDate?
  static let newLocationNotificationName = "newLocationNotification"


  func applicationWillTerminate(application: UIApplication) {
    // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
    locationManager.stopUpdatingLocation()
  }
  
  func applicationDidReceiveMemoryWarning(application: UIApplication) {
