implemented changes to the option buttons