Resize window and add setting
Add setting and resize window