Settings Controller rewrite to Swift.