Set event listeners to monitor priority