add day_code checkbox functionality