Main window is designed