Show progress dialog while doing async tasks