register the receipt if start from another activity.