Pass settings view struct by pointer