[MOD] Added event tracking for UI buttons