title: Fatal Exception: java.lang.IllegalStateException Can not perform this action after onSaveInstanceState
body: <p>I'm getting a crash that I can't reproduce. Here's the stack trace:</p>
  
  <pre><code>android.support.v4.app.FragmentManagerImpl.checkStateLoss (FragmentManager.java:1343)
  android.support.v4.app.FragmentManagerImpl.popBackStackImmediate (FragmentManager.java:486)
  android.support.v4.app.FragmentActivity.onBackPressed (FragmentActivity.java:179)
  com.test.radio.RadioPlayer.onBackPressed (RadioPlayer.java:2372)
  </code></pre>
  
  <p>And here's the relevant code in RadioPlayer.java:</p>
  
  <pre><code>    @Override
      public void onBackPressed() {
          if(isTaskRoot()){
              startActivity(new Intent(this,SplashScreen.class));
              this.finish(); // this is line 2372
          } else {
              super.onBackPressed();
          }
      }
  
      @Override
      protected void onSaveInstanceState(Bundle outState) {
          outState.putInt("PlayState", currentAction);
          super.onSaveInstanceState(outState);
      }
  </code></pre>
  
  <p>Any help is appreciated.</p>