(feature/cleanup) Refactored clickmenu to speed up the BE