Changed revert to undo button. It works.