Used triggers and events to improve the tabs implementation and allow
to reload the tabs easily.