Update the view selector element to use the account summaries utility module.

This also address issue #15 .
Should I use `@default` if the default is `null`?