The create history button control will create a history for the contact when pressed
The default for the button is
'--------------------------------------------------
' Create a new history
'--------------------------------------------------
HostApplication.UIHistoryManager.RecordHistory()
To change the default code, click the ellipses (...) button in the properties panel, change the code and click save.