After updating Avast and REBOOT, delete the firewall rules if you have connection problems. Then reboot yet again.
If this is not enough or anything else is going on, please report back (without going back to some restore point) so we can try additional suggestions.