Added alert skip feature for the live that is too close to previous live.
Removed temporary debug code.
Refactored codes.