Added menu playing mode to while statement