Maked tabs for iPhone and some refactoring of iPhona main screen code