Change I/F of DatabaseAdapter#addTask/editTask.