Settings-controller refaktorointi