Make New game, Restart and Undo buttons work.