I don't know what version you had when you experienced this, but I suggest you download the latest version of avast and save it to your HDD.
Download the avast! Uninstall Utility,
find it here and save it to your HDD so you can find it later.
Run the uninstall utility, reboot, install the latest version, boot.