Clear display before a new callback

@AIMPED I reformulated the question with the code here