Remember inserted code when switching between tasks.