Updated when it should hide the loading bar.