I have a toggle switch that turns on or off when I tap it but when I slide it, it turns on and set repeat = true but toggle animation goes back to off. I manipulate
repeat = true