receipt progressDialog bugfix