NXP-14388: Refactor the systray menu, split into several methods