clear canvas wasn't redrawing
refactoring out the appBar