But the problem is it works for only one object. If i select any object from app2 then i can't deselect the selected value from selection bar.
How can i make selection bar to automatically understand the app1/app2/app3 based on user selection and give them choice to deselect their selected values ?