Reset the upload progress after imgur returns the json
Fix a crash