Fix IndexOutOfRangeException bug in TaskData. removeTask() should return false when the task is not found, not throw an exception.