Core data works more or less, but UISwitch appearance doesn't.