Add a progress indicator for long refactoring action