Restore the selected row after having lost it due to the update of the model