Connect AppChooser visibility with button's checked property

When AppChooser is hidden by an external event (such as the user clicked
on an application icon), we now make the button look like it's unchecked.