Use the click event instead of the keyup event.

It should be unnoticeable for end users, but this makes automation such as acceptance tests much easier.
Merge pull request #417 from jsantos17/patch-1

Use the change event instead of the keyup event.