You need to click “OK” in avast to save changes. If you simply close the GUI after the changes, they are not saved.