change when the interface for chat is shown