UI template of main window has been added.