changed order of button index to match what iOS version appears to be doing.