Is save button state possible?

You use them when required.

See this example demonstrating how to count button clicks and save it to TinyDB