Thanks for the suggestion. Although I know what is dictionary I never used it. As I understood, I need to create 30 keys and values (both strings) on start of the layout and, in this case, I can use my first solution: (set text to "dict"&str(level)) to access its data. Is it right?
Actually, I think that I need to use something like this:
Dictionary > has key: "mykey"&str(level) > set text to: Dictionary.CurrentValue
Is it right?