Program: 83580
Project: 83580
Buggy source:
@Override public void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.comm_select);
  Button bluetooth=(Button)findViewById(R.id.bluetooth);
  bluetooth.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      getGameEngine().setCommunicationType(CommunicationType.BLUETOOTH);
      startActivity(new Intent(CommunicationSelectView.this,GameSelectView.class));
    }
  }
);
  Button internet=(Button)findViewById(R.id.internet);
  internet.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      getGameEngine().setCommunicationType(CommunicationType.INTERNET);
      startActivity(new Intent(CommunicationSelectView.this,GameSelectView.class));
    }
  }
);
  Button settings=(Button)findViewById(R.id.settings);
  settings.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      AlertDialog.Builder alert=new AlertDialog.Builder(CommunicationSelectView.this);
      alert.setTitle("String_Node_Str");
      alert.setMessage("String_Node_Str");
      final EditText input=new EditText(CommunicationSelectView.this);
      alert.setView(input);
      alert.setPositiveButton("String_Node_Str",new DialogInterface.OnClickListener(){
        public void onClick(        DialogInterface dialog,        int whichButton){
          String value=input.getText().toString();
          SharedPreferences prefs=ApplicationController.getContext().getSharedPreferences("String_Node_Str",0);
          SharedPreferences.Editor editor=prefs.edit();
          editor.putString("String_Node_Str",value);
          editor.commit();
        }
      }
);
      alert.setNegativeButton("String_Node_Str",new DialogInterface.OnClickListener(){
        public void onClick(        DialogInterface dialog,        int whichButton){
        }
      }
);
      alert.show();
    }
  }
);
}

Fixed version (ground truth):
@Override public void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  setContentView(R.layout.comm_select);
  GameEngine.getInstance().hardReset();
  Button bluetooth=(Button)findViewById(R.id.bluetooth);
  bluetooth.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      getGameEngine().setCommunicationType(CommunicationType.BLUETOOTH);
      startActivity(new Intent(CommunicationSelectView.this,GameSelectView.class));
    }
  }
);
  Button internet=(Button)findViewById(R.id.internet);
  internet.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      getGameEngine().setCommunicationType(CommunicationType.INTERNET);
      startActivity(new Intent(CommunicationSelectView.this,GameSelectView.class));
    }
  }
);
  Button settings=(Button)findViewById(R.id.settings);
  settings.setOnClickListener(new OnClickListener(){
    @Override public void onClick(    View v){
      AlertDialog.Builder alert=new AlertDialog.Builder(CommunicationSelectView.this);
      alert.setTitle("String_Node_Str");
      alert.setMessage("String_Node_Str");
      final EditText input=new EditText(CommunicationSelectView.this);
      alert.setView(input);
      alert.setPositiveButton("String_Node_Str",new DialogInterface.OnClickListener(){
        public void onClick(        DialogInterface dialog,        int whichButton){
          String value=input.getText().toString();
          SharedPreferences prefs=ApplicationController.getContext().getSharedPreferences("String_Node_Str",0);
          SharedPreferences.Editor editor=prefs.edit();
          editor.putString("String_Node_Str",value);
          editor.commit();
        }
      }
);
      alert.setNegativeButton("String_Node_Str",new DialogInterface.OnClickListener(){
        public void onClick(        DialogInterface dialog,        int whichButton){
        }
      }
);
      alert.show();
    }
  }
);
}