added code to reset currentDay back to 0 if it is greater than 7