Don't change store when using read-only mode.