Create a dedicated object:state-changed callback for the "pressed" state