         navigationController?.navigationBar.setBackgroundImage(UIImage(named: "background"), forBarMetrics: UIBarMetrics.Default)
         navigationController?.navigationBar.titleTextAttributes = [NSFontAttributeName: UIFont.systemFontOfSize(24)]
         updateNavigationBarTitle()
+
+        NSNotificationCenter.defaultCenter().addObserver(self, selector: "applicationSignificantTimeChange:", name: UIApplicationSignificantTimeChangeNotification, object: nil)
     }
 
     override func viewDidAppear(animated: Bool) {


        self.dismissViewControllerAnimated(true, completion: nil)
    }

    // MARK: Key Value Observing
    

        if self.calendarChooser == nil {
            presentCalendarChooser()
        }
    }
    
    override func viewWillDisappear(animated: Bool) {
        super.viewWillDisappear(animated)

        NSNotificationCenter.defaultCenter().removeObserver(self)
    }

    // MARK: Private
