rename window and text