Save fragment ID in the config.