Thank you very much @kisvegabor
It works well.
Although the horrible refresh is solved now, there is another thing that bothers me.
When I scroll the menu fast, I can see a lag in updating the chart, which was not in ver 6. Until now I thought that it might be related to this problem but as this lag is still there seems that it’s not. what do you think about it?
Here is the ver 6, with acceptable lag in updating the chart:
And here is the ver 7 one, you can see the updating lag in chart:
PS: I checked it with both states of LV_USE_ANIMATION
and I saw no difference. Not sure but even felt that disabling the animation makes it worse.