save last selected metadata source