Fix a bug in the uploader: the 'retry' button would stay around even after the progressbar continued.