added a Toggle object  to AppView