deactivate method
Called when this object is removed from the tree.
https://api.flutter.dev/flutter/widgets/State/deactivate.html
Implementation
@override
void deactivate() {
if (_keepAliveHandle != null) {
_releaseKeepAlive();
}
super.deactivate();
}