changes in Add/Edit task window, 
new function in DB setTaskDetails to update existing tasks