1. fixed settings bug.
2. fixed uitabbar orientation to portrait only by adding a category.