Imlemented Handling of connection and disconnection of Wifi. Buttons are
now only enabled, if wifi is connected.