Moved SwitchEventProvider to framework. Context based functionalities currently do not work. Disconnect of bluetooth does not work.