Avoided null pointer problem in event detection service and change interval to 10min