Rework the text menu in order to unify it with the graphical menu