add todo with cache in app class