main window ui adjustment(omit previous commit)