Found index of button pressed