Replaced deprecated calls to setButton and setButton2

Change-Id: Ifcc3f3afc1689406a3298dab7b00a8edb83c115e
1 file changed