Open
Description
Original report by Zack Lovatt (Bitbucket: zlovatt, GitHub: zlovatt).
.addPersistentCheckbox("checkbox text", "prefsKey", onClick, properties)
.addPersistentEditText("default text", "prefsKey", onClick, properties)
So that they'll check the pref on load and update to reflect it, and then after being clicked they'll set the pref and then trigger the rest of the onclick