Refactoring listener