[Toolbar] Fix the toolbar item checks the selected state when the text is set.