The code listing that includes recognition of the support databases and processing code for the switch clicks.