app isactive fix