Use device ID for global source check

Use the device ID to check if a capture device has already been added as
a global source rather than the device name from the combo box.