private void recommendLabel(BaseLabel[] labels) {
   mProgressHelper.show();
   mLabelManager.recommendLabel(
       mContact.getUserId(),
       labels,
       new FunctionCallListener() {
         @Override
         public void onCallResult(int result, int errorCode, String errorDesc) {
           mHandler.sendMessage(
               mHandler.obtainMessage(MSG_RECOMMEND_LABEL_RESULT, result, errorCode));
         }
       });
 }
  private void handleRecommendLabelResult(int result) {
    Activity activity = getActivity();
    int resId;

    mProgressHelper.dismiss();
    switch (result) {
      case FunctionCallListener.RESULT_CALL_SUCCESS:
        resId = R.string.recommend_label_success;
        break;
      default:
        resId = R.string.recommend_label_failed;
        break;
    }

    if (activity != null) {
      Toast.makeText(activity, resId, Toast.LENGTH_SHORT).show();
    }
  }