iOS app shows correct button state when reconnecting