Settings.xaml.cs now saves the threshold value and Prompt.xaml.cs returns the text input