function changeCalendar(calendarId) {
    const urlParams = new URLSearchParams(window.location.search);
    urlParams.set('calendar_id', calendarId);
    window.location.search = urlParams.toString();
}