def METHOD_NAME(self, icon):
    sabnzbd.cfg.cherryhost.set("127.0.0.1")
    sabnzbd.cfg.enable_https.set(False)
    sabnzbd.config.save_config()
    self.hover_text = T("Restart")
    sabnzbd.trigger_restart()