Boilerplate for a record button.