track selected analysis index by name

this way, the selected element is kept across state refresh.

closes #216