Button click for websockets