Fixed QPickerElement example

Resolves issue #290