Move get_default_local_path function to finish the gui stuff.