Selectmenu: Introduce _renderButtonItem method

Fixes #10142