remove updateRecordButtonState: