Fix button pressed states.