See if a repair of Avast solves it.

I’m not sure, but I think you can also change that setting in Avast4.ini