Use Db record for creating new task, so that to avoid the duplicated
primary key