Added a function to add a style when a conversation is selected