Add undo-redo buttons on view. Add bae logic for undo-redo feature.