Modify the ui,and add menu setting