Refactor DeviceListAdapter and ApiClient (simplify)