Improving user interface using building blocks