When setting the mode, the environment is immediately loaded.
Updated the data directory choose window to update the data directory for the db-config if the data directory is already set.
Fixed a failing test after updating the way choose works.