|To which box you should paste design codes! : I think 'Text at top of page' is the most important option in the design settings. Because all of design, background, logo, button and other codes work there! In other words, you should your design codes to the 'Text at top of page' area, if you want that it works without any problems.
Steps: Edit Design > Extended Settings > Text at top of page > Save