[TASK] HMENU: Extract menu item generation into separate methods