     Session.additions(
       new: model.scheduledLocalNotifications,
       old: old.scheduledLocalNotifications
-    ).forEach {
+    )
+    .forEach {
       application.scheduleLocalNotification($0)
     }
     
     Session.deletions(
       old: old.scheduledLocalNotifications,
       new: model.scheduledLocalNotifications
-    ).forEach {
+    )
+    .forEach {
       application.cancelLocalNotification($0)
     }
     

    let deletions = Session.deletions(
      old: Array(old.backgroundTasks),
      new: Array(model.backgroundTasks)
    ).progressing().flatMap { $0.ID }
    
    (complete + deletions).forEach {
      application.endBackgroundTask($0)

    }
  }
  
  fileprivate let application: UIApplication
  fileprivate var disposable: Disposable?
  fileprivate let output: BehaviorSubject<Model>
  fileprivate var model: Model

  init(intitial: Model, application: UIApplication) {
    self.application = application
    model = intitial
    output = BehaviorSubject<Model>(value: intitial)
  }
  
  func render(new: Model, old: Model) {
    model = new
    if model.isIgnoringUserEvents != old.isIgnoringUserEvents {
