implemented undo/redo for add-strategy and set-strategy