Added erase all as well as changed the delegate in second view controller to the correct VC