added check to see if the app is from the amazon app store