Started to write the java doc in the mainMenuWithGraphics and changed the update function in this class because it updated the wrong things