Code refactor removing unnecessary intent in SwitchEventProvider and SwitchEvent classes. Fix in the toast method declaration in the Helper class.