refactor ProgressIndicatorService