Well the icon doesn't rotate for no reason, it is an indication that it is scanning as an on-access AV should.
Though simply typing shouldn't cause that it is only when you run, modify or create a new file and the scan should only take place at the point it is saved for those two.
The learning mode as far as I'm aware is only in the firewall element, but I don't use the avast firewall so I can't say for sure.
You could try opening the task manager and look and see what functions/processes are using the most CPU as they are more likely to be triggering avast to scan.