Changed event for active state on button