update settings button now does not close window