added onShow handler so the button gets the 'checked' visual state even when using the key-binding