Fix the get/set state method

The timestamp value should be return.

Change-Id: Ic4d473c43a6e53a28096227c53530f8b90e20f90