add and change styles of contacts in events