Enable or disable the sub-menu.