Added option for opening the chat automatically