Auto disable buttons depending on connection status