Issue #82: the dropdown doesn't refresh after a promise is updated with value

This is the fix for the issue #82.