handling app preview case