Problem with onSaveInstanceState by changing orientation to Store cheate


#1
  @Override
    protected void onSaveInstanceState (Bundle outState){
        super.onSaveInstanceState(outState);
        outState.putBoolean(KEY_IS_CHEAT, mIsAnswerShown);
    }

    @Override
    protected void onCreate (Bundle savedInstanceState){
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_cheat);
        if (savedInstanceState != null) {//why this is always null??
            mIsAnswerShown = savedInstanceState.getBoolean(KEY_IS_CHEAT, mIsAnswerShown);
        }

when I want to retrieve mIsAnswerShown , savedInstanceState is always null!
but in onSaveInstanceState is being filled correctly.
how can I fix this bug??