Changed state input so it can only be of size 2 chars in addProvider and
editProvider