Changed Event Sensor to send data only when MDC comes close by