Some changes

Change the text of dialog, repair the next block, refine the drawevent