refactored app widget, use nested controller instead of module parameter