     preset = @refs.preset.value
 
     switch preset
-      when "days" then select.options["#{optionsKey}"] = days
+      when "numberRange" then @handleNumberRange(select, optionsKey)
       when "months" then select.options["#{optionsKey}"] = months
       when "Countries" then select.options["#{optionsKey}"] = Countries
       when "statesUSA" then select.options["#{optionsKey}"] = statesUSA


      <div>
        <h2 className="form-label">Presets</h2>
        <select ref="preset">
          <option value="">none selected</option>
          <option value="days">Days</option>
          <option value="months">Months</option>
          <option value="Countries">Countries</option>
          <option value="statesUSA">States - United States</option>
          <option value="provincesCanada">Provinces - Canada</option>
          <option value="statesMexico">States - Mexico</option>
        </select>
        <button onClick={@handlePreset}>Apply</button>
      </div>

      <br />

      else return

    @setState editSelect: select
    @setState numberRange: false
    @refs.preset.value = ""

  handleNumberRange: (select, optionsKey) ->
    topNumber = @refs.topNumber.value
    bottomNumber = @refs.bottomNumber.value

    options = []
    for num in [topNumber..bottomNumber]
      options.push {value: num, label: "#{num}"}

    select.options["#{optionsKey}"] = options

    return select

  save: (e) ->
    if not @state.editSelect.title
