admin-ui: Refactor the way filters function

- Now, the dropdown list won't close when the user clicks an element
of it but still it filters on each click. It closes when the user
clicks outside of the list.
- The way the state of checkboxes/radiobuttons changes is modified
(follow logic of previous commit)
- Add cookie to store the view of filters the user last use.
This cookie is the same for every list page.
- Code improvement