Avast gets blamed for a lot of things but your screenshot shows it’s Avira doing the blocking. NOT AVAST
Hopefully you aren’t running more than one resident AV on your system.