Refactor longest streak display on detail page