Implemented change of progressbar.