added buttons to mainview