change default value of preference to null in refresh_request