"SD" marked apps have been moved to your SD card, incl. app´s data; perhaps you deleted the content of SD card in the process of installation, so the icons left, but app´s did not. Avast do not touch the SD card by that, only antitheft component can save there .zip file for installing the component rooted. Did you install antitheft by zip method?