Updated PR count when switching between tabs