set habits.done to "true" where id = id set habits.done to "false" where id = id set selected-habit to habits where id = id go-to habit-detail add-to habits name new-habit-name done "false" streak "0" clear new-habit-name go-to today
Today
Progress Done Today Add
Back
Streak Mark done today
Cancel New Habit