Selectmenu: Introduce _renderButton method

Fixes #10142

Add extension point for modifying the button element (aka the selected item).