Allowing user to specify refresh time