         appBar.addSubviewsToParent()
         MDCAppBarColorThemer.applySemanticColorScheme(ApplicationScheme.shared.colorScheme, to:self.appBar)
     }
-    
+    //Action to start text chat bot
     @IBAction func didTapkeyboard(_ sender: Any) {
         //make intentTF first responder
         intentTextField.isHidden = false
         intentTextField.becomeFirstResponder()  
     }
     
+    //Action to stat microphone for speech chat
     @IBAction func didTapMicrophone(_ sender: Any) {
         if !listening {
             self.startListening()

    }
}

extension DialogflowViewController: UITextFieldDelegate {
    
    func textFieldShouldReturn(_ textField: UITextField) -> Bool {

        registerKeyboardNotifications()
        
    }
    //init with coder
    required init?(coder aDecoder: NSCoder) {
        intentTextFieldController = MDCTextInputControllerOutlined(textInput: intentTextField)
        
