I have used Rejzors Uninstall tool along with Avastclear. I re-installed avast! using an offline installer though. Can’t keep my laptop unprotected for too long.

Hopefully the error does not happen again.