fix crash when clearing assignments twice before UI updates to disable button
Merge pull request #293 from Ubuntu-Solutions-Engineering/placement_button_fix

fix crash when clearing assignments twice