I did an avast repair through add remove programs and then it showed that avast firewall was off when I opened the avast program. So what is turning off the firewall?

Thanks essexboy - for suggestion.