Changes colour of progress bar if mark is a fail