Add part to check the device has the internet connection and add send 0 to the php file in the server when no color is selected