trying out NSUserDefaults. looks like preference window works in a way