Don't call updateUi() with a null selection