diff --git a/src/view/ThemeSettings.js b/src/view/ThemeSettings.js
index <HASH>..<HASH> 100644
--- a/src/view/ThemeSettings.js
+++ b/src/view/ThemeSettings.js
@@ -65,11 +65,16 @@ define(function(require, exports, module) {
                 newSettings[attr] = $target.val();
             })
             .on("change", function() {
+                var items;
                 var $target = $(":selected", this);
                 var attr = $target.attr("data-target");
+
                 if (attr) {
-                    var items = $target.map(function(i, item) {return $(item).val();}).toArray();
-                    prefs.set(attr, items);
+                    items = $target.map(function(i, item) {
+                        return $(item).val();
+                    });
+
+                    prefs.set(attr, items.toArray());
                 }
             });
Cleaned up a bit of the logic for selecting themes in the event handler for the settings UI