   # Setup [bitly](http://bit.ly).
   contentType: 'application/x-www-form-urlencoded'
   getParameters: (url) ->
-    bitlyApiKey   = utils.get 'bitlyApiKey'
-    bitlyUsername = utils.get 'bitlyUsername'
+    bitlyApiKey   = store.get 'bitlyApiKey'
+    bitlyUsername = store.get 'bitlyUsername'
     params        =
       apiKey:  'R_91eabef2f32d88c07b197c9d69eed516'
       format:  'json'

        # Close the popup if it's still open and the user wants it closed.
        # Otherwise, reset the popup so that it can be used further.
        if popup
          if utils.get 'toolbarPopupClose'
            popup.close()
          else
            $('#loadDiv', popup.document).hide()

# Also, ensure that `ext` is *reset* and that notifications are only displayed
# if the user has enabled the corresponding option (enabled by default).
showNotification = ->
  if store.get 'notifications'
    webkitNotifications.createHTMLNotification(
      chrome.extension.getURL 'pages/notification.html'
    ).show()
