Changed storage of API key