RF-13043: added title Attribute to the select items

This is just the functionality in java. I have not changed any Tests, so
they might have to be adjusted.