Corrected the way editTask() works with the DataFile class