Resolve #22: Add support for changing the data-dir from the GUI