instead of “this” code uses “submenu” to locate menu item
This is one of tricky points, which is probably need to be imroved in the next updates. When you are using nested menu, each submenu is a separate object, with separate events, so when you are clicking on item in a submenu, onItemClick is called for that submenu, and not for top context menu. onMenuItemClick is a special event, which is always called for the top menu in hierarchy.