 }
 
 void handleWBServer(){
-
-  server.handleClient();
+  if(CommunicationLogic.UI_alert){			//stop UI SERVER
+    if(!SERVER_STOP){
+      server.stop();
+      SERVER_STOP = true;
+    }
+  }
+  else
+    server.handleClient();
   wifiLed();
 }
 

String newSSID_param;
String newPASSWORD_param;
IPAddress default_IP(192,168,240,1);

// extern "C" void system_set_os_print(uint8 onoff);    //TODO to test without
// extern "C" void ets_install_putc1(void* routine);

  }
  else //if (wifi_status !=WL_CONNECTED){
    digitalWrite(WIFI_LED, LOW);
}

void initMDNS(){
