Cleaned the customLink clicked event