added do_action() for the purchase_button to overlay_with_purchase_button to avoid duplicated code #245