Fix some bugs. Change selected to selected-true class.