Updates the title of the main window with the name of the project