Snippet state check

needed soem sort of check in place so the private/public values cannot
be tampered with on the frontend…

if the value is tampered with or the radio buttons are both unchecked
the value will be set to public as default.