 import UIKit
 import EventKit
 import EventKitUI
+import Timepiece
 
 class MainViewController: UIViewController, EKCalendarChooserDelegate {
 

        let navigationController = UINavigationController(rootViewController: self.calendarChooser)
        self.presentViewController(navigationController, animated: true, completion: nil)
    }

    func calendarChooserSelectionDidChange(calendarChooser: EKCalendarChooser!) {
        var calendars: [EKCalendar] = []


    override func viewWillAppear(animated: Bool) {
        super.viewWillAppear(animated)

        navigationController?.navigationBar.setBackgroundImage(UIImage(named: "background"), forBarMetrics: UIBarMetrics.Default)
        navigationController?.navigationBar.titleTextAttributes = [NSFontAttributeName: UIFont.systemFontOfSize(24)]
        updateNavigationBarTitle()
    }

    override func viewDidAppear(animated: Bool) {
