Committing changes to save the task details in database like priority,
due date etc.