Added task status changing