added feature to save state for both Joke and Proverb generators