Implements cancel button action and throws FriendlyException if recordingBytes() fails