Correctly removes old status classes on the number widget when updating the status

Fixes #45