fix selected priority on TaskEditor