Added the selected event to the selectfield (raised by the selectbox)
Comparing the selectbox value as a string now