Load the existing state when entering the application