Refactored the menustate

Creation of the title is much cleaner now