Set selection correctly when changing prio fixes crash