Prevent onchange event firing from undesired operation

Prevent onchange event firing when click outside of dropdown.
Merge pull request #3 from kazsix/master

Prevent onchange event firing from undesired operation