fixes #8
closes #8
not using a handler to post 'purchase-state-changed-event'. using a general way to post on main thread instead.