Fix #185: Reset the page to the first page when changing the url with refresh method.