Showing different color when category is selected automatically