diff --git a/KeeTrayTOTP/KeeTrayTOTP.csproj b/KeeTrayTOTP/KeeTrayTOTP.csproj
index 92259ad..80cd97b 100644
--- a/KeeTrayTOTP/KeeTrayTOTP.csproj
+++ b/KeeTrayTOTP/KeeTrayTOTP.csproj
@@ -9,7 +9,7 @@
2.31
- 3.5
+ 4.0
diff --git a/KeeTrayTOTP/TrayTOTP_Plugin.cs b/KeeTrayTOTP/TrayTOTP_Plugin.cs
index 93ef1e0..c4c14b2 100644
--- a/KeeTrayTOTP/TrayTOTP_Plugin.cs
+++ b/KeeTrayTOTP/TrayTOTP_Plugin.cs
@@ -70,7 +70,7 @@ public sealed class KeeTrayTOTPExt : Plugin
///
internal const int setstat_int_EntryList_RefreshRate = 300;
internal const int setstat_trim_text_length = 25;
- internal IReadOnlyList setstat_allowed_lengths = new ReadOnlyCollection(new[] { "6", "7", "8", "S" });
+ internal readonly ReadOnlyCollection setstat_allowed_lengths = new ReadOnlyCollection(new[] { "6", "7", "8", "S" });
///
/// Form Help Global Reference.