merge Events and Purchases logic and UI