Fixed state issue where folder state was unlinked from app library state.