widgets/volume: check if selem pointer is valid

Fixes #71