Simplify OnFlagChange callback - do not pass useless old flag value