finish history activity