Session state for the each section


I just figured that when I show some graphs, a change in text_input to adjust one of the graph parameter, e.g. axis title, will rerun the whole script. Is there a way to keep the state a section and when one part is adjusted, only specific part is rerun. Something like rerun for a section. I tried to implement session state, but it keeps rerun from the beginning of the script.

For instance, i have this graph and have options to change the title:

But when I change the title, other graphs are rerun as well.

Or, maybe there are some examples related to this?
Thank you!