Improving the way that a popit_api is integrated in settings