Will the red triangle disappear automatically after attendance is recorded?

Yes, once attendance is correctly logged and saved for the lesson, the red triangle will disappear from the timetable.