backend main menu detached to event listeners
Scrutinizer Auto-Fixes

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/Orkestro/Orkestro/inspections/631782b7-52a7-43e8-bb1f-fe996f2a988f