fix bug and add tabbar.But the tabbar is not useful...