connection button works and emits signal