Only call onChange if state changed

Fixes a nasty bug where the callback was called every render. Feeling
pretty dumb right now.
Bump to 0.2.1