Improve config selection choicebox feature

- change the choicebox from OK button to the FILE/VIDEO button as more
config menus could be profit from it without making a lot of changes
over the UI
- solve some GDOD regarding number of variables for handleKey