Added UIDevice and fixed bug in UILabel