client: read last selected device and set tha in view