Made progress bar go invisible if it fails