Fix bug where multiple entries could be saved per day