added Undo button function, moves undoing for standard games
merge