Added replace parameter for setText

Styling Fix

Switching Boolean to boolean

Add error for ios-controller