Replace the calendar object when loading.