Set info-bar response only after is added to the window

This avoids a gtk critical warning