Implemented the choose button on the data directory chooser.