It is the other way around. When Avast! icon spins, it is checking files.
You could try loading Avast! services last.
Open Avast! > Settings > Troubleshooting > Load Avast! services only after loading other system services.