Added more work on in app purchase