Fixed the NullPointerException for RGB view. Added a checkpoint for ColorPaletteDef object of an image for update and reset operations.