fix motion_detected notification