Avoid duplicate apps opening