improved treatment for selection color in pgm_table