Changed System orientation attribute type to String