Saving state of drawing/writing during card viewer