Prepares header and footer for interface setting