use button to trigger json repolling.