Creating the UI for the dashboard widget