I have a Menu Tree component with 5 menu items. When I click on an item, I want to detect which item was clicked and change its background color. The selected item should keep the color until I click another item, at which point the new item should be highlighted. Has anyone worked on this type of requirement before? Please share your ideas or suggestions.