         _ = AudioController.sharedInstance.start()
     }
     
+    //Microphone stops listening
     func stopListening() {
         audioButton.setImage(#imageLiteral(resourceName: "Mic"), for: .normal)
         keybordButton.isEnabled = true

        let keyboardFrame =
            (notification.userInfo?[UIKeyboardFrameEndUserInfoKey] as! NSValue).cgRectValue
        textFieldBottomConstraint.constant = -keyboardFrame.height
    
    }
    
    @objc func keyboardWillHide(notification: NSNotification) {

}

extension DialogflowViewController: AudioControllerDelegate {
    //Microphone start listening
    func startListening() {
        listening = true
        audioButton.setImage(#imageLiteral(resourceName: "CancelButton"), for: .normal)
