 
   # Populate options. The constructor adds each new object to "Option.all".
   for name, type of options
-    new type(name,enableSaveButton)
+    new type(name,onUpdated)
 
 initPopupPage = ->
   chrome.tabs.getSelected null, (tab) ->


    haveMatch = false
    for element in elements
      pattern = element.children[0].firstChild.value.trim()
      if 0 <= @url.search bgExclusions.RegexpCache.get pattern
        haveMatch = true
        @getPassKeys(element).focus()

      @url + "*"

initOptionsPage = ->
  onUpdated = ->
    $("saveOptions").removeAttribute "disabled"
    $("saveOptions").innerHTML = "Save Changes"

