Fixed lock icon updating