Final implementation for PurchaseActivity has been added.