     $("chooseFile").value = ""
     # We need to apply migrations in case we are restoring an old backup.
     bgSettings.applyMigrations()
+    return
+  return
 
 # Exported for tests.
 root = exports ? window

    super(args...)
    @element.addEventListener "input", @onUpdated

  populateElement: (value) -> @element.value = value
  # If the new value is not empty, then return it. Otherwise, restore the default value.
  readValueFromElement: -> if value = @element.value.trim() then value else @restoreToDefault()

class CheckBoxOption extends Option
  populateElement: (value) -> @element.checked = value
  readValueFromElement: -> @element.checked

class ExclusionRulesOption extends Option

      show $("linkHintCharactersContainer")
      hide $("linkHintNumbersContainer")
      hide $("waitForEnterForFilteredHintsContainer")
    return

  maintainAdvancedOptions = ->
    if bgSettings.get "optionsPage_showAdvancedOptions"
