previously saved app state is loaded in init.