Added 3 seconds sleep before clicking the record button