add saveCurrentSelection api method