protected void onDestroy() {
   super.onDestroy();
   unregisterReceiver(mReceiver);
   if (mCellBroadcastAsyncTask != null) {
     mCellBroadcastAsyncTask.cancel(true);
     mCellBroadcastAsyncTask = null;
   }
 }
 private void handleGetCellBroadcastConfigResponse(SmsBroadcastConfigInfo[] infoList) {
   onFinished(mLanguagePreference, true);
   onFinished(mAddChannelPreference, true);
   if (infoList == null || infoList.length == 0) {
     onError(mLanguagePreference, EXCEPTION_ERROR);
     mLanguagePreference.setEnabled(false);
     mAddChannelPreference.setEnabled(false);
   } else {
     mList = new ArrayList<SmsBroadcastConfigInfo>(infoList.length);
     for (int i = 0; i < infoList.length; i++) {
       mList.add(infoList[i]);
     }
     if (mCellBroadcastAsyncTask != null) {
       mCellBroadcastAsyncTask.cancel(true);
       mCellBroadcastAsyncTask = null;
     }
     mCellBroadcastAsyncTask = new CellBroadcastAsyncTask();
     mCellBroadcastAsyncTask.execute();
   }
 }