ssong25, hlim10: interaction with db

modified todo, habit, daily
ssong25, hlim10: anoter modification

.