fix crash when clearing assignments twice before UI updates to disable button