Added hidekeyboard to menu function in affected viewControllers