refactored cell background styling to include overdue status