to do list - local db integration done

All tasks and their statuses are now saved into the local database when
the user leaves the to do list page and fetched back when resuming.