You can just add a line to re-set the data if event.isCancelled

You don't need to add new diffs in two spots