@Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); outState.putString(State.DIRECTORY, mDirectory); }