Use of sessionstorage for the list of subcategory in popup