Refactored TodaysHoursWidget class