Added addSingleQuoteString to the custom view as this is a 9.0.1 method

and it doesn't work with earlier releases