Added breaks to the switch statement in modify()

Added missing breaks to the switch statement in the modify() method of
the MainMenu class.