If you read the progressDialog developer doc it says "A dialog showing a progress indicator and an optional text message or view. Only a text message or a view can be used at the same time."
It looks like you are trying to do both. Possibly the cause of your issue.