For the sake of performance, could we reduce the times to flush cache?  I think it is enough to flush when keyboard is about to deactivate.