gui: fixed folder selection bug in configure dialog