Remove usage of deprecated APIs

I think `atom.config.toggle` is deprecated. The specs may be changing the config value directly which could explain why this deprecation isn't displayed when running the specs.