Problem with antitheft after reset

I installed Avast Mobile Security and Anti-Theft on root. Today I had to reset my phone to factory status and now anti-theft (which was kept installed since it was on root) does not run. Either wether I try to run it manually (since it’s still installed) ot from Avast Mobile Security app, I get sth like “The application (process com.avast.android.antitheft) was interrupted unexpectedly. Try again” (translated from Spanish, so it may not be the exact error text)

Any ideas on how to solve it?

Solved by renamig the .apk on root, running anti-theft, renaming .apk back to its original name, uninstalling, and installing back

Is your superuser permissions fixed?