Fixing color change for buttons when filtering.