link settings buttons to functions, fix autoupdate init