Updated UI of main window.