Splitted code and now trigger widgets using the observers system