New realisation of the commands menu (using pattern Command)