Changed an old add_signal to connect_signal