Add another test case.
Fix selection state recording when apply button not shown.
Allow label width to be set.
Readability.
Remove redundant style.