refactor #refreshPage in PageHelper