fixed warning about accessing ProgressDialog#show in a none static way