add BaseActivity with a ProgressDialog