finishes refactoring event notifications