Editing widget build and UI