I was using Avira antivirus prior to the installation of Avast

Have you ran the Avira clean uninstall tool from Windows Safe Mode? (search it at http://thewebatom.net/uninstallers/security-software/ )

Can you delete and rebuild your firewall rules?

Can you clean your web browser’s cache?