Added ProgressDialogs in both activites