         self.actionKey = pushPayload[PushPayloadKey.action.rawValue] as? String
         self.duration = pushPayload[PushPayloadKey.duration.rawValue] as? NSTimeInterval ?? Message.defaultDisplayTime
         self.date = NSDate()
+        self.isError = false
     }
     
     public static func registerAction(action: Action, forKey key: String) {

    }

    @IBOutlet private weak var messageLabel: UILabel!
    public static var sharedToolbar: NotificationBanner = {
        let bundle = NSBundle(forClass: NotificationBanner.classForCoder())
        let t = bundle.loadNibNamed(String(NotificationBanner), owner: nil, options: nil).first as! NotificationBanner

            return
        }
        
        if let timer = currentMessageTimer,
            let interruptedMessage = pendingMessages.last where timer.valid {
            let index = pendingMessages.count >= 2 ? pendingMessages.count - 2 : 0
            pendingMessages.insert(interruptedMessage, atIndex: index)
        }
        
        // Don't interrupt an error to show a non-error
        if let currentMessage = pendingMessages.last where currentMessage.isError {
            let index = pendingMessages.count >= 2 ? pendingMessages.count - 2 : 0
            pendingMessages.insert(message, atIndex: index)
            return
        }
        
        if !pendingMessages.contains(message) {
            pendingMessages.append(message)
        }
        
        sharedToolbar.styleForError(message.isError)
        sharedToolbar.frame = messageHiddenFrame
        sharedToolbar.messageLabel.text = message.text
        
