Programs: Improve detection for setting changes