Added priority selection for new task