Armagedon, I understood your problem since from the beginning. I thought it has a simple solution but now, after your explanation, I’m afraid not…
I think it’s better uninstall / boot / install / boot… you will renew the avast! folder directory and the possible damaged files, I hope :