             showButton.value = "Show Rules"
 
         showButton.addEventListener "click", ->
+          showButton.blur()
           items[key] = not items[key]
           chrome.storage.local.set items
           maintainShowState()
         maintainShowState()
 
     refresh = -> fetchUrl url
-    refreshButton.addEventListener "click", refresh
+    refreshButton.addEventListener "click",
+      refreshButton.blur()
+      refresh()
     refreshers.push refresh
 
     element.querySelector(".rule-count").textContent =

              text.style.display = "none"

          maintainState()
          ele.querySelector(".rule-show").addEventListener "click", ->
            showing = not showing
            maintainState()


            showMessage "Rules refreshed: #{url}."
            initialiseNetworkRules()
          else
            chrome.storage.sync.get [ key, successKey ], (items) ->
              showMessage "...#{url} added successfully."
              new RuleSet $("network"), url, items[key], items[successKey]

Common.documentReady ->
  chrome.storage.sync.get null, (items) ->
