updateMatCalendarInSN() was changed to pass to setMatCalendar() the name of SN, with function was invoked.