Fixed the filter issue with Chrome

Instead of using the .click() function, we are using .change(). Then we
check for the value of the dropdown option and trigger an even when it
is selected.