Creating A Toolbar & Canvas Sketch

are you referencing the first or second code I posted? I am working off of the second.