Added buttons to the main view