Looks like a copy-paste error above.  appBar is repeated.  Also, it's commented out ... should all the buttons go away?