Fixed a bug where the mode root note was not changed when changing mode and then changing scale