Expose & call setupAddRecordButton once it has the information needed

Fixes #294