changed api key state to a wp transient, and added code to check that the key is valid once a week, unless the store is down and it checks again in 24 hours.