So, if I understood correctly, now AutoSandBox is not bothering you anymore, and your database is being updated correctly.

Now you would need to reset your icons / themes as you want.

If you notice this strange behaviour again (Avast seemingly changes your desktop / icons / theme), please report back, because this is, as said, very strange/unusual and should not happen.