DeviceSettings: Simplify logic and add toasts [TEST]