Connecting My Arduino Uno WIFI to WIFI

|It is a silly question but I am trying to understand, can't I just add the library "#include <UnoWiFiDevEd.h>" in the same sketch that attached before? I added the library as you suggested and removed #include <Wifi.h> but it gave me error so I left both in the sketch. But I think that is wrong. Please advise me what to do.

Yes I connected the Wifi as instructed in the web panel.