In Avast, go to “Settings”, “Troubleshooting” and enable “Load Avast services only after other…”.

That should fix the problem.

Cheers
Zyndstoff