Added buttons to main template