added undo/redo functions to buttons :)