openApp now check extension state.