Detect when switching to another conversation and re-render the chat markups