@Override public Parcelable onSaveInstanceState(){
  d("onSaveInstanceState");
  Bundle bundle=new Bundle();
  bundle.putParcelable("instanceState",super.onSaveInstanceState());
  bundle.putBoolean("mOpen",mOpen);
  return bundle;
}

@ Override public Parcelable onSaveInstanceState ( ) { d ( "onSaveInstanceState" ) ; Bundle bundle = new Bundle ( ) ; bundle . putParcelable ( "instanceState" , super . onSaveInstanceState ( ) ) ; bundle . putBoolean ( "mOpen" , mOpen ) ; return bundle ; }
saves the state of the menu item as open or close to be able to handle device rotations .
