move chatwindow setup to onCreate() so it doesn't get reset