Store the object you want to save directly by using {@link View#setTag(int, Object)} with the window's decor view.