Program: 26544
Project: 26544
Buggy source:
@Override public Dialog onCreateDialog(Bundle savedInstanceState){
  View dialogView=getActivity().getLayoutInflater().inflate(R.layout.dialog_new,null);
  title=(EditText)dialogView.findViewById(R.id.insert_cell_title);
  group=(EditText)dialogView.findViewById(R.id.insert_cell_group);
  input=(EditText)dialogView.findViewById(R.id.insert_cell_input);
  return new AlertDialog.Builder(getActivity()).setView(dialogView).setTitle(R.string.add_new_title).setPositiveButton(android.R.string.ok,new DialogInterface.OnClickListener(){
    @Override public void onClick(    DialogInterface dialog,    int which){
      CellData newCell=new CellData();
      if (title.getText().toString().equals("String_Node_Str")) {
        Date date=new Date();
        DateFormat dateFormat=new SimpleDateFormat("String_Node_Str",Locale.US);
        newCell.title=dateFormat.format(date);
      }
 else {
        newCell.title=title.getText().toString();
      }
      if (group.getText().toString().equals("String_Node_Str")) {
        newCell.group="String_Node_Str";
      }
 else {
        newCell.group=group.getText().toString();
      }
      if (input.getText().toString().equals("String_Node_Str")) {
        Toast.makeText(getActivity(),"String_Node_Str",Toast.LENGTH_SHORT).show();
        return;
      }
 else {
        newCell.input=input.getText().toString();
      }
      newCell.rank=(int)Math.random() * 30;
      CellCollection.getInstance().addCell(newCell);
      CellCollection.getInstance().setCurrentCell(newCell);
      Intent i=new Intent(getActivity().getApplicationContext(),SageActivity.class);
      i.putExtra("String_Node_Str",true);
      startActivity(i);
    }
  }
).setNegativeButton(android.R.string.cancel,null).create();
}

Fixed version (ground truth):
@Override public Dialog onCreateDialog(Bundle savedInstanceState){
  View dialogView=getActivity().getLayoutInflater().inflate(R.layout.dialog_new,null);
  title=(EditText)dialogView.findViewById(R.id.insert_cell_title);
  group=(EditText)dialogView.findViewById(R.id.insert_cell_group);
  input=(EditText)dialogView.findViewById(R.id.insert_cell_input);
  return new AlertDialog.Builder(getActivity()).setView(dialogView).setTitle(R.string.add_new_title).setPositiveButton(android.R.string.ok,new DialogInterface.OnClickListener(){
    @Override public void onClick(    DialogInterface dialog,    int which){
      CellData newCell=new CellData();
      if (title.getText().toString().equals("String_Node_Str")) {
        Date date=new Date();
        DateFormat dateFormat=new SimpleDateFormat("String_Node_Str",Locale.US);
        newCell.title=dateFormat.format(date);
      }
 else {
        newCell.title=title.getText().toString();
      }
      if (group.getText().toString().equals("String_Node_Str")) {
        newCell.group="String_Node_Str";
      }
 else {
        newCell.group=group.getText().toString();
      }
      if (input.getText().toString().equals("String_Node_Str")) {
        Toast.makeText(getActivity(),"String_Node_Str",Toast.LENGTH_SHORT).show();
        return;
      }
 else {
        newCell.input=input.getText().toString();
      }
      newCell.rank=(int)Math.random() * 30;
      CellCollection.getInstance().addCell(newCell);
      CellCollection.getInstance().setCurrentCell(newCell);
      Intent i=new Intent(getActivity().getApplicationContext(),SageActivity.class);
      i.putExtra("String_Node_Str",true);
      i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
      startActivity(i);
    }
  }
).setNegativeButton(android.R.string.cancel,null).create();
}