LVGL library

Am working on a project that displays a list with options and button matrix seems to be the perfect widget for this so I am wondering if will be possible to display button matrix with dynamic content (button count and labels).
In my project the button label changes dynamically at running time:

like it could change from this:

static const char * btnm_map[] = {"1", "2", "3", "4", "5", "\n",
                                  "6", "7", "8", "9", "0", "\n",
                                  "Action1", "Action2", ""};

to this:

static const char * btnm_map[] = {"option1", "option2", "option3", "option4", "option5", ""};

if not which could be the best way (using LVGL) of displaying options and highlight the current one?