Converted old clearsync configuration to proper events [tracker #1651]