UI for changing the priority