Update stats in background and add refresh button