Initialize settings before adding views