Change task status