Refactor dataset selector.
Update dataset and visualization selectors when route changes.