return userConfig.get()
    .then(configs => configs || [])
    .then(configs => toggleConfig(configs, id, enabled))
    .then(configs => userConfig.store(configs));