fixed bug with showing the selected direcory / file in the label