to(configName) {
    this.prevConfig = this.currentConfig;
    this.currentConfig = configName;

    const config = this.configuration[configName]
      ? this.configuration[configName]
      : this.configuration.default;

    this.set(config);
  }
@method to
@description Switch to configuration.
@param {String} configName Configuration name.
@memberof module:modules/app.StateModule
@example <caption> Changes configuration to `green`</caption>
state.to('green');