Changed undo/redo behavior for Done state change. Fixes #14