Added buttons to main view