Correct shutdown of editing card