Wrong index?

Shouldn't it be index 1 for button 2?