Additional checking when showing sensor data.
Notification duplicating problem fixed
Added modified field for rules