avast doesn’t block or turn off programs, it merely scans them and if it finds infection it will alert and all hell will break loose, but it doesn’t block or turn off programs.

The avast icon rotates when it is scanning, so lets just consider this, if it were avast turning it off (and as I said it doesn’t do this) do you not think it would do it even when you manually start Adobe Gamma ?