Replace indeterminate spinner by progress indicator when upload is in progress