navigation controller and tabbar controller
using userdefaults to store leve