We need to notify the UI process about the changes that were made while performing the undo and redo operations.