Momentary buttons and wifi

Don't do that. It interferes with the Serial channel, Serial.print, downloading code....
Select another pin for that purpose.