Extracting the logic that prompts the user for choice name and saving it into the data store into its own method