Fixed bug with in-app-purchases.