Fixed bugs in decoding

1. DecodeImageDialog: update values for selectedImageSource and selectedDpi when image source changes.

2. Fixed ImageSourceSettings.defaultSettings() to set DPI_UNKNOWN if image source is file.

3. In ImageSourcWidget, imageSourceSelectionWidget selection listener, set selection on scannerDpiWidget.