@Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.my_signup_status);
   MainService.addActivity(this);
   init();
 }
 @Override
 protected void onDestroy() {
   super.onDestroy();
   MainService.removeActivity(this);
   if (statusService != null && currentStatus != null) {
     statusService.emptyStatusDb();
     statusService.insertListStatus(currentStatus);
     statusService.closeDBHelper();
   }
 }
 /**
  * @param mode
  * @param statusId
  */
 private void getStatusFromTask(int mode, String statusId) {
   if (!isRefresh) {
     isRefresh = true;
     Map<String, Object> taskParams = new HashMap<String, Object>();
     taskParams.put(Task.TA_GETSTATUS_ACTIVITY, Task.TA_GETSTATUS_MYSIGNUPSTATUS);
     taskParams.put(Task.TA_GETSTATUS_TYPE, Task.TA_GETSTATUS_TYPE_MY_SIGNUP);
     taskParams.put(Person.PERSON_ID, SharedPreferencesUtil.getDefaultUser(this).getUserId());
     taskParams.put(Task.TA_GETSTATUS_MODE, mode);
     taskParams.put(Status.STATUS_ID, statusId);
     Task task = new Task(Task.TA_GETSTATUS, taskParams);
     MainService.addTask(task);
   }
 }
 @Override
 protected void onDestroy() {
   super.onDestroy();
   MainService.removeActivity(this);
 }