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
Progress
Done
Today
Add
Streak
Mark done today