changed progress bar to display time