Delete task button updates global time