Fixed Bug: Ghost attack resetting

Rotating the screen or closing the app would cause ghost attack to be
reset.