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

This also address issue #15 .
Cool, didn't know that.