Adjusting the title of the window