Flip the topic to something vaguely related. Sometimes you will stay on this new topic for pretty much the rest of the dialogue, and sometimes you might not even finish the full sentence before flipping back to roughly where you were in the previous thought.
Talk yourself up, explain why you made this thing better, or why you are deserving of praise, bonus again if it is an obvious lie. You’re always the best. Don’t forget that, and don’t let anyone else forget that!