added undo/redo buttons