hide coded menu when custommenuitems are specified