Added settings view controller code