title: requestAuthorization result is invalid in applicationDidBecomeActive
body: <p>To get permission to show notifications, I request system and it returns the result ok, but meanwhile <code>applicationDidBecomeActive</code> is called and when I check for <code>UIApplication.sharedApplication().currentUserNotificationSettings()</code> it's 1 which is denied!</p>
  
  <pre><code>...
  UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .sound]) {(accepted, error) in
          if !accepted {
              print("Notification access denied.")
          }
      }
  ....
  
  func applicationDidBecomeActive(application: UIApplication) {
  
  
      let grantedSettings = UIApplication.sharedApplication().currentUserNotificationSettings()
      let value= grantedSettings!.types.rawValue 
      // value is now 1, why?!
  }
  </code></pre>