changed deprecated "pressed" signal from button