title: getBooleanExtra() using only the default argument and not the one passed by putExtra()
body: <p>Here's the code. In this part, the <code>answerIsTrue</code> variable should be initialized to true, which it rightly does (I debugged and checked) and is rightly also passed into putExtra() (again, I debugged and checked).</p>
  
  <pre><code>mCheatButton.setOnClickListener(new View.OnClickListener(){
          public void onClick(View v){
              Intent i = new Intent(QuizActivity.this, CheatActivity.class);
              boolean answerIsTrue = mQuestionBank[mCurrentIndex].isTrueQuestion();
              i.putExtra(CheatActivity.EXTRA_ANSWER_IS_TRUE, answerIsTrue);
              startActivity(i);
          }
      });
  </code></pre>
  
  <p>But coming to a different class, the variable <code>mAnswerIsTrue</code> gets assigned to false (probably due to the default argument) despite the argument being passed by putExtra() is true. Here's the code.</p>
  
  <pre><code>mAnswerIsTrue = getIntent().getBooleanExtra(EXTRA_ANSWER_IS_TRUE, false);
  </code></pre>
  
  <p>I debugged this line as well, and it does get assigned to false. What could be wrong? </p>
  
  <p>Here's the complete <code>CheatActivity</code> class:</p>
  
  <pre><code>public class CheatActivity extends Activity {
  public static final String EXTRA_ANSWER_IS_TRUE = "com.bignerdranch.android.geoquiz.answer_is_true";
  private Button mShowAnswerButton;
  private boolean mAnswerIsTrue;
  private TextView mAnswerTextView;
  @Override
  protected void onCreate(Bundle savedInstanceState)
  {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_cheat);
      mAnswerIsTrue = getIntent().getBooleanExtra(CheatActivity.EXTRA_ANSWER_IS_TRUE, false);
      mAnswerTextView = (TextView)findViewById(R.id.answerTextView);
      mShowAnswerButton = (Button)findViewById(R.id.showAnswerButton);
      mShowAnswerButton.setOnClickListener(new View.OnClickListener(){
          public void onClick(View v){
              if (mAnswerIsTrue){
                  mAnswerTextView.setText(R.id.true_button);
              }else{
                  mAnswerTextView.setText(R.id.false_button);
              }
          }
      });
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Note: I'm a complete beginner, who just learnt debugging.</p>