fixed reference problem with context menu
only save settings if they have not been modified for at least one second