Use animation when setting switch "on" property
Use correct format args
Use KVO to trigger UI synchronization
Refresh selected cell in viewWillAppear
Fix UI update bug in demo code