Add changepalette event.