Add insert and update TodoItem into SQLite.