added application switching