added 'checked' bool to the buttonbar template