Add class selected to the currently selected li, check for an option with prop selected on page load & assign class selected to corresponding li.