Abstract fetching of the API key such that the admin notice doesn't appear when the key is set with a filter.