Switch icon when switching between code and design view