fixed button never for this site

Configuration just not have been saved after you click the button. I always wondered why i
everytime need to click this button again. After a browser close the site specific settings for this button are gone. Just added the save action on callback after setting the URL configs.
Sry for the weird commits, used wrong branch before fixing this bug.