                     }
                 }
                 break;
-                
             case .ContentsClicked:
                 Alamofire.request(.GET, "https://update.pushbullet.com/android_mapping.json")
                     .responseString { response in

    }
    
    //fixme
    func userNotificationCenter(center: NSUserNotificationCenter, didDismissNotification notification: NSUserNotification) {
        for item in pushHistory {
            if item["notification_id"].string == notification.identifier && item["type"].string == "mirror" {
                ephemerals.dismissPush(item, trigger_key: nil)
                break;
            }
        }
    }
    
    func userNotificationCenter(center: NSUserNotificationCenter, didActivateNotification notification: NSUserNotification) {
        switch notification.activationType {

                    switch(pushType) {
                    case "mirror":
                        let notification = NSUserNotification()
                        notification.otherButtonTitle = "Dismiss    "
                        notification.actionButtonTitle = "Show"
                        notification.hasActionButton = true
                        notification.title = push["title"].string
                        notification.informativeText = push["body"].string
                        notification.identifier = push["notification_id"].string
