save ifDrawText state