Added method to set position of imagebutton text.

Fixes #164.
I think we should add a runtime exception here, like:

throw new RuntimeException("should never get here");