This is more of an issue with the WSC Windows Security Center.
To confirm this you only have to check that avast is in fact running, tray icon there and rotating when files are scanned ?
The avast icon has no Red X or Yellow Triangle with ! over it ?
The Task Manager shows both avastUI and avastSvc.exe are running ?
Depending on your answers some suggestions can be given.