Updated the CabinDatabaseController to support ints instead of strings as states