Added alt-tab support for type changes