[Toolbar] Fix the text state is wrong when it is clicked.