Modified to automatically trigger recording once opened, and close after the limit is reached or immidiately after user hits STOP for recording