Adds checkboxes and lock icons to the sharing window