deleting text from appwindow