Try to avoid crash on Mac OS during setup

... by moving setupFavLink to a place only called
if the folder to be referenced exists for sure.