Add event listener for sensor selected