[ntv] Move app guess outside formats loop