new external function getRadioButtonForStatsFunction

Intended to allow selection of stats db.