Even though you restored to a time before Avast was installed it will only replace the system files, it may well leave some other drivers/files on the system albeit inoperative
So for safeties sake run AswClear before installing Avast (use the V9 one)