Replace cancel button by cancel last goal