Added is alive is dead toggle
Fixed the bug of getting stuck after edit