Fix bugs: now settings update settings and uor button works after clicking "OK" now