Enhanced the UX for selecting different items in the database tree