set icon path before changing data path