CHANGED:applied the UI layout and elements definition