Infosys Interview Question

How to maintain same stae through the application?