provide custom keys. automatically synchronize when app will terminate and did enter background