Fixed undo button.