Improve progressbar adding a timer.