finishes training mode in gui