optimize switch to all apps mode