Detect when apps are already installed. Fixes Issue#47