(Menu) Refactor common code in disp/rgui | rmenu | rmenu_xui