Cleanup of the button model.