Allow passing a custom palette to the palette picker