make delay and the gsettings key global