jvarcadeToolbarHelper::addSubmenu should be defined as static method