refreshing settings in new thread