Corrected bug increment badges

Increment only if the devices do not uninstalled.