Fixed bug with menu-setting in controller