It says firewall not available, but when I look at the firewall in windows it's activated.
do you mean avast firewall or windows firewall ?

have you tried avast repair, and reboot?

For a repair of avast. Windows, Add Remove programs, select ‘avast! Anti-Virus,’ click the Change/Remove button from the pop-up window, scroll down to Repair, click next and follow.

did it work?