@Override
    public void onSaveInstanceState(@NonNull final Bundle outState) {
        super.onSaveInstanceState(outState);
        outState.putParcelableArrayList(SAVED_STATE_IMAGELIST, new ArrayList<>(imageList.getItems()));
        outState.putBundle(SAVED_STATE_IMAGEHELPER, imageHelper.getState());
    }
adjusts image persistent state to what is actually in the list
main/src/main/java/cgeo/geocaching/ui/ImageListFragment.java