progress bar turns green when it reaches 3