color change working on a selected item