BUgfix avoid update locked Application