disable buttons when not connected