Created views and buttons in code