Implement device filtering UI (bug 969244)