diff --git a/background.js b/background.js
index 91307cf4150717e2b043225dcfec6e779f52427c..1ddeacbe2467443649ae8dc51a29e2591c763b7f 100644
--- a/background.js
+++ b/background.js
@@ -15,11 +15,13 @@ let started = 'off';
 let debug_mode = false;
 
 loadFromBrowserStorage(['config','started'],function(result) {
-  config = result.config;
- 
- // if old storage method
-  if (config===undefined)  loadConfigurationFromLocalStorage();
-  else started = result.started;
+
+  // if old storage method
+  if (result.config===undefined)  loadConfigurationFromLocalStorage();
+  else { 
+    started = result.started;
+    config = JSON.parse(result.config); 
+    }
 
   if (started==='on') {
     addListener();