refactoring table cell class for session calendar