Problems with setting a string

Changed string setFlashMessage function. Wrapped in an array because our other function needs that