private void resetTempGroupName(final String groupChatName) {
    mMsgBox.showWait();

    final GroupChatRoom chatRoom = mDbHelper.fetchGroupChatRoom(mGroupId);
    if (null == chatRoom) {
      return;
    }
    chatRoom.groupNameLocal = groupChatName;
    chatRoom.groupNameOriginal = groupChatName;
    chatRoom.isTemporaryGroup = true;
    chatRoom.isGroupNameChanged = true;

    AsyncTaskExecutor.executeShortNetworkTask(
        new AsyncTask<Void, Integer, Integer>() {

          @Override
          protected Integer doInBackground(Void... params) {
            return WowTalkWebServerIF.getInstance(ModifyTempGroupChatNameActivity.this)
                .fGroupChat_UpdateInfo(chatRoom);
          }

          @Override
          protected void onPostExecute(Integer result) {
            mMsgBox.dismissWait();

            if (result == ErrorCode.OK) {
              // update local temp group name
              Database db = new Database(ModifyTempGroupChatNameActivity.this);
              db.updateGroupChatRoom(chatRoom);
              // update the display name of chatmessages
              db.updateChatMessageDisplayNameWithUser(mGroupId, groupChatName);

              // setResult
              Intent data = new Intent();
              data.putExtra(EXTRA_GROUP_NAME, groupChatName);
              setResult(Activity.RESULT_OK, data);
              finish();
            } else {
              mMsgBox.show(null, getString(R.string.group_chat_title_modify_failure));
              //                    Toast toast =
              // Toast.makeText(ModifyTempGroupChatNameActivity.this,
              // getString(R.string.group_chat_title_modify_failure), Toast.LENGTH_SHORT);
              //                    toast.setGravity(Gravity.CENTER, 0, 0);
              //                    toast.show();
              mMsgBox.dismissDialog();
            }
          }
        });
  }
        public void handleMessage(android.os.Message msg) {
          if (msg.what == ErrorCode.OK) {
            stuPersFromNet.addAll(mDBHelper.fetchLessonPerformance(lessonId, stuId));
            //				android.util.Log.i("-->>", stuPersFromNet.toString());
            lvPerformances.setAdapter(new LessonStatusAdapter(preformstrs));
            if (stuPersFromNet.isEmpty()) {
              findViewById(R.id.btn_parent_confirm).setVisibility(View.VISIBLE);
              if (!isTeacher) {
                ContextThemeWrapper themedContext;
                if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
                  themedContext =
                      new ContextThemeWrapper(
                          LessonStatusActivity.this,
                          android.R.style.Theme_Holo_Light_Dialog_NoActionBar);
                } else {
                  themedContext =
                      new ContextThemeWrapper(
                          LessonStatusActivity.this, android.R.style.Theme_Light_NoTitleBar);
                }
                new AlertDialog.Builder(themedContext)
                    .setTitle("温馨提示")
                    .setMessage("老师还没有评分!")
                    .setCancelable(false)
                    .setPositiveButton(
                        getString(R.string.ok),
                        new DialogInterface.OnClickListener() {

                          @Override
                          public void onClick(DialogInterface dialog, int which) {
                            finish();
                          }
                        })
                    .create()
                    .show();
              }
            } else {
              if (stuPersFromNet.get(0).property_id == 10) {
                findViewById(R.id.btn_parent_confirm).setVisibility(View.VISIBLE);
              }
              if (!isTeacher) {
                findViewById(R.id.btn_parent_confirm).setVisibility(View.GONE);
              }
            }

          } else {
            mMsgBox.toast(R.string.class_class_status_not_comfired);
          }
        };