persist selectedDate