Button: transition to proper state after click