Displaying the task progress bar color based on how much time has been spent.