cleaning undo redo when watershed is applied (TODO create undo redo to watershed)