Skip setting button state (css classes, etc.) if the state didn't change
- this fixes disappearing listmode selection after clicking search reset button