Added saving for selections.