Bug fixes and made the tasks to cumulatively store data for each day