Pass index back from get_choice instead of value.

Signed-off-by: John Else <john.else@gmail.com>