adding a settings panel and storing previous tag choices.