Remove whitespaces from shared connections settings