Set selection after inserting a row.