public async Task ToggleAsync() { var isSet = await _pin.ReadAsync(); await _pin.WriteAsync(!isSet); }