Added a PaletteSwap class to the view.