Adding a task and trying to implement it so it doesnt reset