     } else {
       locationServiceDisabledAlert()
     }
+
 
 //    // URL cache
 //    let URLCache = NSURLCache(memoryCapacity: 4 * 1024 * 1024, diskCapacity: 4 * 1024 * 1024, diskPath: "nsurlcache")

    if let launchOptions = launchOptions,
      localNotification = launchOptions[UIApplicationLaunchOptionsLocalNotificationKey] as? UILocalNotification {
      log.debug("local notification received: \(localNotification)")
    }

    // Request local notification usage

  func application(application: UIApplication, didReceiveLocalNotification notification: UILocalNotification) {
    log.debug("didReceiveLocalNotification: \(notification)")
  }
  
  func application(application: UIApplication, handleActionWithIdentifier identifier: String?, forLocalNotification notification: UILocalNotification, completionHandler: () -> Void) {
    log.debug("handleActionWithIdentifier: \(notification)")
    completionHandler()
  }

}

