refactoring on menu to be able to set the size of the text