Remove invalid type key and add shipped key to prevent app being deleted when disabled.