Stupid and harassing marketing tactics of Avast

First, I’m an Avast user and not an Avast Team member.

You can change your settings.
Managing pop-up notifications in Avast Antivirus Premium

Also check the AvastUI > Menu > Settings > General - Notifications, I would suggest using the Pop-up Notifications treatment - Limited Mode.