Fixed 'change' event bug

Thanks to motsmanish
https://github.com/timseverien/Promin/issues/6