Made gui::OptionList a template class