edited the progress bar