Buggy code:
card13 = ( ( Button ) ( findViewById ( Card13 ) ) ) ; card14 = ( ( Button ) ( findViewById ( Card14 ) ) ) ; card15 = ( ( Button ) ( findViewById ( Card15 ) ) ) ; card16 = ( ( Button ) ( findViewById ( Card16 ) ) ) ; card17 = ( ( Button ) ( findViewById ( Card17 ) ) ) ; card18 = ( ( Button ) ( findViewById ( Card18 ) ) ) ; card19 = ( ( Button ) ( findViewById ( Card19 ) ) ) ; card20 = ( ( Button ) ( findViewById ( Card20 ) ) ) ; card21 = ( ( Button ) ( findViewById ( Card21 ) ) ) ; card22 = ( ( Button ) ( findViewById ( Card22 ) ) ) ; card23 = ( ( Button ) ( findViewById ( Card23 ) ) ) ; card24 = ( ( Button ) ( findViewById ( Card24 ) ) ) ; card25 = ( ( Button ) ( findViewById ( Card25 ) ) ) ; card26 = ( ( Button ) ( findViewById ( Card26 ) ) ) ; scard01 = ( ( Button ) ( findViewById ( sCard01 ) ) ) ; scard02 = ( ( Button ) ( findViewById ( sCard02 ) ) ) ; scard03 = ( ( Button ) ( findViewById ( sCard03 ) ) ) ; scard04 = ( ( Button ) ( findViewById ( sCard04 ) ) ) ; scard05 = ( ( Button ) ( findViewById ( sCard05 ) ) ) ; rcard01 = ( ( Button ) ( findViewById ( rCard01 ) ) ) ; rcard02 = ( ( Button ) ( findViewById ( rCard02 ) ) ) ; rcard03 = ( ( Button ) ( findViewById ( rCard03 ) ) ) ; rcard04 = ( ( Button ) ( findViewById ( rCard04 ) ) ) ; rcard05 = ( ( Button ) ( findViewById ( rCard05 ) ) ) ; reset ( ) ; sync ( ) ; getCard . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { int ran = ( ( int ) ( ( Math . random ( ) ) * ( available . size ( ) ) ) ) ; if ( ( currentPlayer ) == 1 ) { player1 . addCard ( available . get ( ran ) ) ; sync ( ) ; int index = available . indexOf ( available . get ( ran ) ) ; if ( ( available . size ( ) ) > 0 ) available . remove ( index ) ; else cp . setText ( "No<seq2seq4repair_space>Cards<seq2seq4repair_space>Left" ) ; } else if ( ( currentPlayer ) == 2 ) { player2 . addCard ( available . get ( ran ) ) ; sync ( ) ; int index = available . indexOf ( available . get ( ran ) ) ; if ( ( available . size ( ) ) > 0 ) available . remove ( index ) ; else cp . setText ( "No<seq2seq4repair_space>Cards<seq2seq4repair_space>Left" ) ; } } } ) ; reset . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { reset ( ) ; sync ( ) ; } } ) ; done . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { selectedC = 0 ; if ( ( currentPlayer ) == 1 ) { currentPlayer = 3 ; cp . setText ( "Press<seq2seq4repair_space>Done" ) ; for ( int i = 0 ; i < 5 ; i ++ ) { recent [ i ] = selected [ i ] ; selected [ i ] = new Card ( 0 , 0 ) ; } sync ( ) ; } else if ( ( currentPlayer ) == 2 ) { currentPlayer = 4 ; cp . setText ( "Press<seq2seq4repair_space>Done" ) ; for ( int i = 0 ; i < 5 ; i ++ ) { recent [ i ] = selected [ i ] ; selected [ i ] = new Card ( 0 , 0 ) ; } sync ( ) ; } else if ( ( currentPlayer ) == 3 ) { currentPlayer = 2 ; cp . setText ( "Player<seq2seq4repair_space>2" ) ; sync ( ) ; } else if ( ( currentPlayer ) == 4 ) { currentPlayer = 1 ; <START_BUG> cp . setText ( "Player<seq2seq4repair_space>2" ) ; <END_BUG> sync ( ) ; } } } ) ; card01 . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { select ( 1 ) ; } } ) ; card02 . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { select ( 2 ) ; } } ) ; card03 . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { select ( 3 ) ; } } ) ; card04 . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { select ( 4 ) ; } } ) ; card02 . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { select ( 2 ) ; } } ) ; card05 . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { select ( 5 ) ; } } ) ; card06 . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { select ( 6 ) ; } } ) ; card07 . setOnClickListener ( new OnClickListener ( ) { @ Override public void onClick ( View v ) { select ( 7 ) ; } }

Fix:
cp . setText ( "Player<seq2seq4repair_space>1" ) ;