Fix issue where a new public key string was being generated each time the app starts.