Make directory settable, remember chosen directory using QSettings