Removed 1 stale if statement from program change function