DeviceSettings: Add toast when headset is plugged while changing.

Also, add static context so it's easy to use it anywhere else.