Use AsyncTask to show progress dialog.