@Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_grouping);

    mProgressDialog = new ProgressDialog(this);
    mProgressDialog.setTitle(getString(R.string.progress_dialog_title));

    mFaceListAdapter = new FaceListAdapter();

    setGroupButtonEnabledStatus(false);

    LogHelper.clearGroupingLog();
  }
 // Add a log item.
 private void addLog(String log) {
   LogHelper.addGroupingLog(log);
 }