added ProgressDialog for ObjActivity.java