Notification function called whenever the active layout has changed.
This function is called after the operation.