Trying to make a save function on a note taking WPF app - C#