Settings : Switch state fix

Since the switch views are shared, we need to recreate them
in order to prevent from being reused as they don't share state.

taken from
https://github.com/CyanogenMod/android_packages_apps_Settings/commit/a2265910519344f467526fe4e2f323621dcf272e

Change-Id: I12d39a81de9f09a444fb16e933ce3c2747be5c3d