Updated logic to exercise activity buttons.