Adding transfer of clickhandler when injcecting icons