widgets/notebook: the whole notebook need an update on set_current_by_index

Thank prife for the patch.

Reported-and-Tested-by: prife