Added function for changing single item priority.