      }

        function setSelectedEvent() {
            if (confirm('Are you sure you want to change the current event?')) {
                console.log('Setting event time:', selectedEventTime);
                
                fetch('/api/events/set', {
                    method: 'POST',
                    headers: {
                        'Content-Type': 'application/json'
                    },
                    body: JSON.stringify({
                        event_time: selectedEventTime
       