function CEL_ExpressionAdded(Source, EventID, cqg_expression, varargin)

global m_CEL;

try
    % Informing about adding a record and recalculating correlation.
    disp ' ';
    disp(['A record has been added at ' m_CEL.Environment.LineTime '.']);
    SyncAndCalcCorr(cqg_expression);
catch
    CEL_ShutDown;
    disp('An error occurred in CEL_ExpressionAdded.m file.');
end