function CEL_ExpressionAdded(Source, EventID, cqg_expression, varargin)

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