connect button changes when connected