Buggy code:
public class MainActivity extends ActionBarActivity { private static final String TAG = "TicTacToe" ; private TextView message ; private Button button1 ; private Button button2 ; private Button button3 ; private Button button4 ; private Button button5 ; private Button button6 ; private Button button7 ; private Button button8 ; private Button button9 ; private Button buttonNewGame ; private GameOptions gameOption ; private Board board ; private GameState currentState ; private Seed currentPlayer ; private AIPlayer computer ; public static final int ROWS = 3 ; public static final int COLS = 3 ; final Animation animation = new AlphaAnimation ( 1 , 0 ) ; MediaPlayer player ; @ Override protected void onCreate ( Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; setContentView ( activity_main ) ; <START_BUG> gameOption = GameOptions . COMPUTERvsHUMAN ; <END_BUG> message = ( ( TextView ) ( findViewById ( textView ) ) ) ; button1 = ( ( Button ) ( findViewById ( R . id . button1 ) ) ) ; button2 = ( ( Button ) ( findViewById ( R . id . button2 ) ) ) ; button3 = ( ( Button ) ( findViewById ( R . id . button3 ) ) ) ; button4 = ( ( Button ) ( findViewById ( R . id . button4 ) ) ) ; button5 = ( ( Button ) ( findViewById ( R . id . button5 ) ) ) ; button6 = ( ( Button ) ( findViewById ( R . id . button6 ) ) ) ; button7 = ( ( Button ) ( findViewById ( R . id . button7 ) ) ) ; button8 = ( ( Button ) ( findViewById ( R . id . button8 ) ) ) ; button9 = ( ( Button ) ( findViewById ( R . id . button9 ) ) ) ; buttonNewGame = ( ( Button ) ( findViewById ( R . id . buttonNewGame ) ) ) ; button1 . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { Log . i ( MainActivity . TAG , "Button<seq2seq4repair_space>1<seq2seq4repair_space>pressed" ) ; if ( checkMove ( 0 , 0 ) ) { button1 . setText ( board . cells [ 0 ] [ 0 ] . paint ( ) ) ; updateGame ( currentPlayer ) ; } } } ) ; button2 . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { Log . i ( MainActivity . TAG , "Button<seq2seq4repair_space>2<seq2seq4repair_space>pressed" ) ; if ( checkMove ( 0 , 1 ) ) { button2 . setText ( board . cells [ 0 ] [ 1 ] . paint ( ) ) ; updateGame ( currentPlayer ) ; } } } ) ; button3 . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { Log . i ( MainActivity . TAG , "Button<seq2seq4repair_space>3<seq2seq4repair_space>pressed" ) ; if ( checkMove ( 0 , 2 ) ) { button3 . setText ( board . cells [ 0 ] [ 2 ] . paint ( ) ) ; updateGame ( currentPlayer ) ; } } } ) ; button4 . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { Log . i ( MainActivity . TAG , "Button<seq2seq4repair_space>4<seq2seq4repair_space>pressed" ) ; if ( checkMove ( 1 , 0 ) ) { button4 . setText ( board . cells [ 1 ] [ 0 ] . paint ( ) ) ; updateGame ( currentPlayer ) ; } } } ) ; button5 . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { Log . i ( MainActivity . TAG , "Button<seq2seq4repair_space>5<seq2seq4repair_space>pressed" ) ; if ( checkMove ( 1 , 1 ) ) { button5 . setText ( board . cells [ 1 ] [ 1 ] . paint ( ) ) ; updateGame ( currentPlayer ) ; } } } ) ; button6 . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { Log . i ( MainActivity . TAG , "Button<seq2seq4repair_space>6<seq2seq4repair_space>pressed" ) ; if ( checkMove ( 1 , 2 ) ) { button6 . setText ( board . cells [ 1 ] [ 2 ] . paint ( ) ) ; updateGame ( currentPlayer ) ; } } } ) ; button7 . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { Log . i ( MainActivity . TAG , "Button<seq2seq4repair_space>7<seq2seq4repair_space>pressed" ) ; if ( checkMove ( 2 , 0 ) ) { button7 . setText ( board . cells [ 2 ] [ 0 ] . paint ( ) ) ; updateGame ( currentPlayer ) ; } } } ) ; button8 . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { Log . i ( MainActivity . TAG , "Button<seq2seq4repair_space>8<seq2seq4repair_space>pressed" ) ; if ( checkMove ( 2 , 1 ) ) { button8 . setText ( board . cells [ 2 ] [ 1 ] . paint ( ) ) ; updateGame ( currentPlayer ) ; } } } ) ; button9 . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { Log . i ( MainActivity . TAG , "Button<seq2seq4repair_space>9<seq2seq4repair_space>pressed" ) ; if ( checkMove ( 2 , 2 ) ) { button9 . setText ( board . cells [ 2 ] [ 2 ] . paint ( ) ) ; updateGame ( currentPlayer ) ; } } } ) ; buttonNewGame . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { Log . i ( MainActivity . TAG , "Button<seq2seq4repair_space>New<seq2seq4repair_space>Game<seq2seq4repair_space>pressed" ) ; initGame ( ) ;

Fix:
gameOption = GameOptions . HUMANvsHUMAN ;