Bug 1084298 - [Messages] Decoupling the all inputs query logic from DOM tree structure

- Add map for each view for maintaining the data for rendering/selection
That's a good suggestion. Although the time for generating a set took just few ms(over 100 checkboxes), it's still nice to have less workload.