De-linted annotation button code