Change how set $selected and how select the option -refs #6893
Merge pull request #188 from danbarretodev/6893

Fix preselected CSS selection bug - refs #6893