overriding equals() and hachCode() methods of class SnCalendarsEntity
fixing some bugs of saveMatt() function