Updated effective priority in setPriority