UITextField in a ViewController resigns and become firstResponder, when clicked on contentButton to hide and show the menuViewController.