Added a button to the main view