functionality of radio buttons for representation changes