small fix to empty task when deleting it from textarea in properties