implemeted basic redo functionality in undocontroller