Setting the priority in the task