Since I've refactored the plugin for v2.0 PR https://github.com/zincplusplus/habit-tracker/pull/46 is not compatible anymore, but the idea is valid.