Fix iOS button active state.

Fixes #165
Merge pull request #180 from dankurka/ios_buttons

Fix iOS button active state.