buttons call with their state