add methods to store API key on enable/disable