renamed download buttons, fixed order of query dates on detail page closes #50