New Connection window set proper initialization

Signed-off-by: aurel <aurel.savoiu@cti.pub.ro>