FixDailyAttendance() fix

-update ATTENDANCE_DAY if recalculated STATE_VALUE is different too
Responsive Attendance Codes