replaced motion detection block to optical intrusion in foodcam app