Added more in-app purchase logic