chaneg background colors and its painting delegate

- this should fix the invalid background color of the selected items