I’m glad it’s solved
You turn it off in the avast settings, no it doesn’t need to be done in safe mode.