fix view all apps logic in preview (bug 1056243)