add getter 'selected'
update buttons