Add set_layout method to set layout for homepage versus application layout.