Pick IDs from Settings
Some refactoring
Set default values and display device id