setProgress in ProgressMonitor