app states are now saving