Fixed for UIText* enum deprecated issues

My project is set deployment target to iOS 7 and there are many warnings about UIText* enum deprecated. This pull request is fix for that issue.