The model listener is calling 3 to 4 time for each update in layout., how to avoid this.
@Override
public void onAfterUpdate(Layout model) throws ModelListenerException {
System.out.println("The model lisnters called for layout update");
}