Add callback for when state is actually saved