open the app based on the detection