Added buttonChanged