Added a button to chat window