make buttons changeable with optional animation
update example to include changing buttons