Wrong index for a button

Signed-off-by: emanuele <emanuele45@gmail.com>