Quick hack fix for binding edit text to int prop

Added check for int when setting the value of a property. This whole
method needs a rework to support more conversions.
Added some converter examples