Find the small cog icon in the transport bar at the bottom and click it; it shows recording option. In the left edge, turn on “Replace” and turn off “Takes to Layers”. Now you can loop-record with replacing takes.