[BUG #7137] Check that the selection has changed before apply it to the manager. This avoid a scroll into view.