fixing "filter object is not subscriptable" errors

i was getting errors in ui/razercfg because in python3 filter returns an iter, instead of a list.

i've switched to using next(filter(..)) instead of filter(...)[0] to get the first element from the result.