Added services detection of the selected device
Replaced %% with %
Restored the saved devices list on startup