Update Frequent Buyer/src/com/example/frequent_buyer/TabEvents.java

separate function to do not relate to the class
adding events from the business functions