Settings: Fix isPackageInstalled state