Update sample MotionDetect

Signed-off-by: Michael Grigorev <sleuthhound@gmail.com>