system
4
Try Avast main GUI → settings → troubleshooting → load avast service after other system services.
It may give the wifi connection some time to be recognized first, and only then avast would try to update.
More options to this end are available, but try first with that one. Please reboot after the change.