Fixed Get-CharmState and Set-CharmState

- Fixed Get-CharmState
- FIxed Set-CharmState
- Modified function name to match convention