Easier and centralised way to handle numbers next to menu items

Signed-off-by: emanuele <emanuele45@gmail.com>