Fixed the buildIcons event subscriber that broke with the menu config restructuring