 void procSsidMsg( aJsonObject *_pJsonSsid )
 {
   aJsonObject *poSsid = aJson.getObjectItem(_pJsonSsid, "ssid");
-  if (poSsid && String(poSsid->valuestring).length() <= SSID_MAX_LENGTH)
-    sprintf(g_sSsid, "%s", poSsid->valuestring);
-        
+  if ( poSsid && String(poSsid->valuestring).length() <= SSID_MAX_LENGTH )
+  {
+    if( strcmp(g_sSsid, poSsid->valuestring) )
+    {
+      sprintf(g_sSsid, "%s", poSsid->valuestring);
+      setSsidName(poSsid->valuestring);
+    }
+  }
  }
 
 ///////////////////////////////

    "/templates/pin_settings.html", "text/html"                                           }
  ,
  { 
    "/templates/pin_stub.html", "text/html"                                           }
  ,
  { 
    "/templates/play.html", "text/html"                                           }
  ,
  // last one is the default served if no match
  { 
    "/index.html", "text/html"                                           }


  // Create STATUS
  poStatus = aJson.createItem("OK");
  
  // Create SSID
  poSsid = aJson.createItem(g_sSsid);

  // Create PINS
  int iaPinConnects[TOTAL_NUM_OF_PINS];
