Revert "Check for IndexError"
checks for index out of bounds in buttons list

`buttons` is a list, not a dict
Merge pull request #7 from efernandez/revert-6-patch-2

Revert "Check for IndexError"