Clear user selection after refactoring changes are applied