Issue #40 - Modify local scope variable

* readOnly flag was directly modifying the class level attribute.
Issue #40 - Move hard-coded string to resources