Fixed bug that caused dir chooser default value to not be set