Save fragment state.