Add preference for customizing the user agent.