add styles for selected states