ToDoEntry.java: fixed bug not writing to database when adding a new
entry