Added selections for Length in New and Edit Tasks, save in db