solves issue with Connect/Disconnect button, makes sure UX reflects what's happening.