Using Enum objects to represent phone state.