Fix sha2 generation persistence.

Change-Id: I8342ee36f996a0305632bdb6eb8b20ae4e93873b
diff --git a/data.cpp b/data.cpp
index 4dfbde2..4594dbf 100644
--- a/data.cpp
+++ b/data.cpp
@@ -757,10 +757,10 @@
 	mPersist.SetValue("tw_military_time", "0");
 
 #ifdef TW_INCLUDE_CRYPTO
-	mConst.SetValue(TW_USE_SHA2, "1");
-	mConst.SetValue(TW_NO_SHA2, "0");
+	mPersist.SetValue(TW_USE_SHA2, "1");
+	mPersist.SetValue(TW_NO_SHA2, "0");
 #else
-	mConst.SetValue(TW_NO_SHA2, "1");
+	mPersist.SetValue(TW_NO_SHA2, "1");
 #endif
 
 #ifdef TW_NO_SCREEN_TIMEOUT