buttons for undo and newgame