Hi Naiara, sorry about the trouble! We just released a new program update 22.8 that should fix similar issues. Could you please update your Avast, restart your computer, and check if the problem persists?
To update to 22.8, please open Avast, go to - Menu - Settings - General - Update - and click the second "CHECK FOR UPDATE" button.
Please let me know if it worked.