Added a record button for testing purposes, recording seems to work.