Fixed in-app purchase restore bug.