Modify PhotoButton constructor, add onclicklistener in PurchaseEditFragment