Implementing proper caalendar cell states