Fix task editing