launchActivityForResult issue fixed for heavy weight windows