 
 # Update the settings with the values from the options page.
 save = ->
-  utils.set 'contextMenu', $('#contextMenu').is ':checked'
-  utils.set 'shortcuts', $('#shortcuts').is ':checked'
-  utils.set 'doAnchorTarget', $('#doAnchorTarget').is ':checked'
-  utils.set 'doAnchorTitle', $('#doAnchorTitle').is ':checked'
+  utils.set
+    contextMenu:    $('#contextMenu').is ':checked'
+    shortcuts:      $('#shortcuts').is ':checked'
+    doAnchorTarget: $('#doAnchorTarget').is ':checked'
+    doAnchorTitle:  $('#doAnchorTitle').is ':checked'
   saveFeatures()
   saveNotifications()
   saveToolbar()

  toolbarFeatureName = ''
  toolbarFeatureName = toolbarFeature.val() if toolbarFeature.length
  if $('#toolbarPopup').is(':checked') or not toolbarFeatureName
    utils.set 'toolbarFeature', no
    utils.set 'toolbarPopup', yes
  else
    utils.set 'toolbarFeature', yes
    utils.set 'toolbarPopup', no
  utils.set 'toolbarFeatureDetails', $('#toolbarFeatureDetails').is ':checked'
  utils.set 'toolbarFeatureName', toolbarFeatureName
  ext.updateToolbar()

# Update the settings with the values from the URL shorteners section of the

# Update the settings with the values from the notification section of the
# options page.
saveNotifications = ->
  timeInSecs = $('#notificationDuration').val()
  timeInSecs = if timeInSecs? then parseInt(timeInSecs, 10) * 1000 else 0
  utils.set
    notifications:        $('#notifications').is ':checked'
    notificationDuration: timeInSecs

# Updates the settings with the values from the toolbar section of the options
# page.
