diff --git a/easy_social.module b/easy_social.module
index cc979b3..671cb04 100755
--- a/easy_social.module
+++ b/easy_social.module
@@ -548,14 +548,18 @@ function easy_social_get_widgets() {
 
       // Add widgets to easy_social_global_order variable.
       $order = variable_get_value('easy_social_global_order');
+	  $modified = false;					
       foreach ($return as $name => $array) {
         if (!in_array($name, $order, TRUE)) {
           $order[] = $name;
+		  $modified = true;
         }
       }
 
-      variable_set('easy_social_global_order', $order);
-      cache_set('easy_social_widgets', $return, 'bin', CACHE_TEMPORARY);
+      if ($modified) {
+		variable_set('easy_social_global_order', $order);
+		cache_set('easy_social_widgets', $return, 'bin', CACHE_TEMPORARY);
+	 }
     }
     $static = $return;
   }
