Yes you can tell avast what to do if something is detected. You can set the behavior in the settings as I told you.