Implement Switch valueChanged event in Android.