 enum MessageToolbarState {
     case Default
     case TextInput
+    case VoiceRecord
 }
 
 @IBDesignable

        }
    }

    func trySendImageMessage() {
        if let imageSendAction = imageSendAction {
            imageSendAction(messageToolBar: self)

                micButton.hidden = false
                sendButton.hidden = true

                messageTextView.hidden = false
                voiceRecordButton.hidden = true

            case .TextInput:
                micButton.hidden = true
                sendButton.hidden = false

                messageTextView.hidden = false
                voiceRecordButton.hidden = true

            case .VoiceRecord:
                messageTextView.hidden = true
                voiceRecordButton.hidden = false
            }

            updateHeightOfMessageTextView()
