avoiding empty cursor
updating habits list on new event
Merge branch 'master' of github.com:wholcomb/smoke_tracker