Make selecting palettes update preview pane